#include "logger.h"

Logger * Logger::logger = NULL;
void Logger::message(const char * text)
{
  std::cout << text << std::endl;
}
Logger * Logger::getInstance()
{
  if (logger == NULL)
    logger = new Logger();
  return logger;
}

//main.cpp
int main()
{
  Logger::getInstance()->message("dds");
  
  return 0;
}